#ifndef PLAYER_H
#define PLAYER_H

#include "defs.h"
#include "mysocket.h"

class Player {
public:
	Player();
	Player(int numActions);
	~Player();

	void setUpConnection(int port);
	void setUpMatlabConnection(int port);
	void getAction();
	void move(double errorRate);

	int type;
	MySocket *sox;
	char nombre[1024];

	int intendedAction, action;
	int payout, numActions;
	//bool matlab;
};

#endif
